package com.sezi.vo.page;

public class Order {
	private String filed;
	private Direction direction;
	
	public Order(){}
	public Order(String filed, Direction direction){
		this.filed = filed;
		this.direction = direction;
	}
	
	public static Order createOrder(String filed, Direction direction){
		return new Order(filed,direction);
	}
	
	public String getFiled() {
		return filed;
	}

	public void setFiled(String filed) {
		this.filed = filed;
	}

	public Direction getDirection() {
		return direction;
	}

	public void setDirection(Direction direction) {
		this.direction = direction;
	}

	public static enum Direction {
		ASC, DESC;
	}
}
